Fix edge case when hours are equal to start and end of break