Correct bug intrduced in commit 04a24fb7d2

Thanks to Brett for pointing it out. I didn't spot it as my day end hour
is 9am.