fix(tree): no-change constraint on reverts now violated by changes to removed trees (#27989)