fix omitted query fields for checkboxes