Fix Issue 8903 - Bad code for enum array members
Merge pull request #2870 from yebblies/issue8903

Issue 8903 - Bad code for enum array members