[Bug 306351] Attachments without proper type are detected correctly, but descriptions are wrong