Fixed the findInsertionNode method (hopefully)