Fix error in time calculations.