BZ1047879 - GRE regression in handling nested enum values
(cherry picked from commit 9fa1000251198067623498c8866b1682c74196d6)