Fix Issue 8921 - Enum arrays should be formatted properly.