Fix field not being set when using output from a checkbox

When you use the direct output from a checkbox, you try to verify if '0' is false