Code

fixed bug in Interval serialisation