fix: allow [NotEmpty] on non-generic enumerations.