Fixed a few more bugs related to the switch over to getHistory.