Fixed issue with section/chapter in collapsible

The root node was used everywhere for the section / chapter.