I realized the way I was going about this was all wrong. Thanks for the help.
Last edited on
In order to remove a node you need also the parent node where the actual node has to be removed from. Otherwise you delete the node in question and this now invalid node remains in the tree.