Corrects encoding information of the active message when it has attachments with different encoding. This is a workaround for the bug 715823.