Ranges should be specified so that the start value is inclusive and the end value is just outside the range, using the smallest unit allowed for the range.
So a range of 0-2 in the hours field means all values from midnight to values under 2 am.
0 >= value < 2