Fixed error on importing shared attachments