Fix an infinite loop

I went to dinner and returned to find a bajillion instances of the
cron script running in the background because there was a certain
case where an infinite loop would be triggered when generating a
new runtime if there was only one time/day in that schedule.