Fixed bug in TreePanel affecting AI PivotTable (AI-514)