BZ1048950 - Invalid enumeration not detected