Fix permchan check on client part. Classes cannot be an array key.