task engine - fixed find and modifiy error when no results are returned