Allow "on" to be a valid boolean value.

Fixes #1