OOIION-1542: Fix attachment delete
Merge pull request #423 from mmeisinger/fix1542_att_m

OOIION-1542: Fix attachment delete