cleaned a bit, fixed the bug in TemporalPrevious when dealing with hours.