Fix a regression in the history page; #287
Fix regressions in Delpan report; #287
Fix regressions in stats; #287
Fix regression in on/confirm.html; #287