Fix for dirty-marking mechanism not incl. contents of history entries