Add support for zero permutations