Temporary fix to get List.permutations to work