Fixed an issue where the start time of an hour registration could be a negative number even when hour registrations were not created with from and to time.