LogicUtilities: changed maxTasks from 1000000 to 999