Don't assume value 1 is boolean, use the pods-boolean class

3.0-unstable version of #2397
Merge pull request #2430 from jamesgol/booleancheckbox-3

Don't assume value 1 is boolean, use the pods-boolean class