Fixes for summary in HistoryCtrl