Code

fixed Interval maths (sf bug 665357)