Correct search for tasks