Fix syntax bug.
Fix hours becoming screwed up when clocked in past midnight.