Document that enum conditions must use the ordinal value

[ci skip]