Ensures searches are not made when the search field is empty