Fixed detection of parameters when repeating a run.