Enum: fix regression involving inheriting a multiply-inherited enum