Fixed adding of enum items in ASTConverter.