Fixing bug in trip duration.