Fix: When deleting attachment, remove corresponding thumbnails

Closes #295
Merge branch '1.6-delete-attachment' into 1.6