Fix: When deleting attachment, remove corresponding thumbnails

Closes #295