'0' should be treated as true for checkbox inputs