Fixed timesheet logic.