Temporarily throw an exception if a deleted subtree was modified