Fix use of "locations" API in search_products()