NX-493: Attachments were lost on update