Enum subtraction quirk needs to work with numeric constants only. Fixes #15520