Fixes group validation for checkboxes and radios