Set a node's pointers to zero before trying to insert it into a tree.