Prevent some ObjectDoesNotExist exceptions