Fix another error in attachments example