Attachments were not moved to new transaction after edition for some document types.