Implement the previous method for permutation iterators.
Implement the previous method for permutation iterators.