"CheckAllTasks" function fixed.