Laravel 5.2 where Tra non funziona

Sto usando laravel 5.2 framework ma in questo WhereBetween non funziona. Sto usando la fascia di prezzo where il prezzo inizia da 500 a 4000. Quando WhereBetween() la query ottengo i record vuoti, ma quando rimuovo WhereBetween() ottengo tutti i record. Per favore suggeriscimi come risolvere questo.

 $query = Property::query(); $query->select('properties.property_id', 'properties.property_title', 'properties.description', 'properties.latitude', 'properties.longitude', 'properties.city_name', 'properties.state_name'); $query->leftjoin('properties_base_season_price_transactions', 'properties_base_season_price_transactions.parent_id', '=', 'properties.property_id'); $query->leftjoin('properties_availability', 'properties_availability.property_id', '=', 'properties.property_id'); $query->where('properties.property_category_id', $post_data['categoryid']); $query->where('properties.property_sub_category_id', $post_data['subcategoryid']); $query->where('properties.city_name', 'LIKE' , '%'.$post_data['city'].'%'); $query->whereBetween('properties_base_season_price_transactions.price', [500, 4444]); $query_output = $query->get()->toArray(); 

Sembra che ci sia qualcosa di sbagliato in whereBetween provare

 ->whereRaw("properties_base_season_price_transactions.price BETWEEN 500 AND 4444");