Make message_details actually show the correct entity when viewing details of attache...