Bugfix to "is this a weekday" code.