Fix error with $search_url