Fixed a major gui error related to the history view.