Fixed regression wherein _attachments didn’t get passed to map function

Fixes #148 (I think?)