fixed a possible issue with timespan arithmetics