Rework MindMap#orphanNodes etc.