Fixed noon bug

Bug when the hour was noon, now fixed.