Fix display for history pages