Fixed persistence bug in ComponentTreeBase