Fix error where checkboxes could not be unchecked.

Sending checked=false should be honoured.

Fixes #3995