Allow non-lists in permutations