Added debugging assertion in SimpleTreeUpdater.updateTree.