Minor update to type checking on Booleans (simplified).

Bumped package.json patch version.