add proper values for checkboxes (boolean).
fix logic error in conditional for checkboxes.
Merge pull request #3 from normanyung/master

add proper values for checkboxes.