KRACOEUS-7858:fixed issues with adding internal attachments
Merge pull request #653 from jwillia/KRACOEUS_7858_1

KRACOEUS-7858:fixed issues with adding internal attachments