Fix calculating total duration.

Wait times are not included in legs.