Set empty response for failed task search.

Explicitly return an empty array if the search for tasks resulted in no tasks for which the user is authorized to view.