Fix permutation deletion