Fixed change in scanone.perm in which K argument was removed.