Avoid error when clicking `delete` repeatedly
Merge pull request #1340 from reciprocity/feature/fix-double-delete-error

Avoid error when clicking `delete` repeatedly