raptor: fix the duration of thz section after a stayin

If the arrival and the departure was not the same the duration was
negative