If search is empty, don’t change to search page