Fix bug where annotations aren’t getting deleted