fix: display scan index instead of conditions with SPM12b
test: small fix for SPM12b
fix: if nPerm = max num of permutations