Changed getVehiclesByLineId function.