Fixed a couple minor bugs in the history