Bugfix: check for history refresh required after each history data merge.