fix(tree): forking during changed event (#28008)