Attachments - fix undefined index for note password