I misread the code and thought the code kept looping until the mob spawn cap was hit. Upon furthur review, this is not true, so this patch doesn't do anything sane.
If any part of a Vehicle/Passenger relationship is visible to a player, send all passenger/vehicles to the player in the chain.