Fixed getTotalCOnsumption for trips with pauses