Ok, so when you insert a node using insert_node(), shouldn't you preferable get the newly inserted node in rather than the Ctree?
*me checks the source*
Hmm. Ok, it seems like it actually DOES return the newly added node. The manual is incorrect. I don't see any "Returns" so I'm guessing that is the cause?