invite working and inviitations only shown if the tree has no children