Leaf children weren't being inserted correctly