Lets not reuse the index of a failed experiment. This happens cause I
was using MAX(exptidx) from the experiments table. Instead, lets use a new one each time. This avoids a problem in the new template code I need to fix at some point.
Showing with 23 additions and 4 deletions