Fix #5: Correctly validate checkbox and radio checked states for InputWidget