LPS-32558 fix undo bug with attachments in MB