Added error message for search