Never mind, I see that you do `queue.push(currentChild)` when inserting a new node up in `addElementInsert()`.