Minor bug fixed

selHourlyData originally returned one extra hour than required.