Do not consider default value when validating enum