I have a simmple query running as:
$reviews = Review::whereHas(\'units\', function ($q) use ($after_start_unit_ids) { $q->whereIn(\'units.id\', $af