Fix time totaling bug.