Fixes crash when deleting cars.