Prevent crashes when saving and loading models that don't exist