Fix attachments bug

Spenser Shumaker <sshumake@redhat.com>