Fixed nesting in the tree menu