This is likely to check all attachments twice for the common case.