Fix errors in SMWPermValidator for scalar result formats