Fixing add run to history.