fixed search function where if no results were found, display that