Indeed, this should be moved to the nested set implementation.