fix attachment deletion issue on articles due to failed permissions check

refs #244, thanks to @luckyvb for the patch
Merge remote-tracking branch 'origin/master'