Master.hour fix

fix for incorrect output for 10am, 11am and 12am in the tests.