reworked Vehicle.getAvailableVehicle query