Pack in of Attachment: Update entry is using wrong index.
Description
For update of existing attachment entry, pack in uses MAttachmentEntry.getIndex to perform update. This is not correct since MAttachmentEntry.getIndex starts from 1 while MAttachment.updateEntry expect a zero base index.
For update of existing attachment entry, pack in uses MAttachmentEntry.getIndex to perform update. This is not correct since MAttachmentEntry.getIndex starts from 1 while MAttachment.updateEntry expect a zero base index.