Call MakeEntriesReferencable before filling the tree.