jsTree: Check and exclude orphaned items which break the tree structure