fix to delete attachment when post is deleted
Merge pull request #14 from immersivelabs/fix/CARA-2244

[RFC] CARA-2244