Copy original history into analysis dir
Bugfix: do not crash on model change in analysis