Fix accounting for partial hours at the start of the interval.