fix #21721: Spanners not properly deleted when corresponding anchoring notes are deleted