Fix start/stop time decoding.

When decoding the duration and using it for start time, there were some milli/nanoseconds that got added to start/stop time. This was incorrect behaviour and caused weird UI behaviour in iOS UI.