validations for search returns