Correct even/odd permutations