Correct validator to use boolean not bool