set_ancestry has to be recursive. Also, get_descendants should not use ancestry.