Fixes rendering and processing of checkboxes