Fixed controller hanging when some vehicles were removed.