Bug fix: A relation was deleted when an associated span has been deleted.