Extracted search_price logic