Fixed bug where flags were producing the wrong messsage on guest_detail page.