Fixed type error in `display_search_results` method.