Fix clocking in GetNextTask().