Small change to search#DataDocuments to not try to get documents when there are no hits