Add error handling for if no search term is found.