Corrected alias permutation recursion.