Bug fix of detecting a message body as attachment