Fix validate_model_fields(), caused errors when metaclass raises errors