(#2358) - multiple attachments correctly replicate

Test fails before, but succeeds after the fix.