Bugfix: When accepted task goes overtime it was still counted as a pending task.