Added error message for no documents found during search.