SSDM-7430: fixing bug in UpdateAttachmentForEntityExecutor: Order of attachments are not controlled because of HashSet