Perform previous search when search term is empty