Track when trees are emptied