Correctly check checkbox value. Fixes #1730.
Merge pull request #1731 from michael-e/fix-checkbox

Correctly check checkbox value. Fixes #1730.