HRM - fixed bug in finding newest message, and added revision detail