Minor fixes to history grid