Fix search. Had to assign the tasks file return to a variable.