Fix bug with overtime.