Do not migrate attachments multiple times