Fixed bugs with netCDF hour field and time selection checking.