Make sure to leave the tree the way we found it after the patch