raptor: fix the duration of thz section after a stayin

If the arrival and the departure was not the same the duration was
negative
Merge pull request #648 from kinnou02/negative_duration

raptor: fix the duration of thz section after a stayin