Improved (and possibly fixed a Bug) in the HistoryNode implementation.