Fix regression causing replicates to be put in the same condition.