Retain classes for checkboxes (and other form fields that have a name attribute with an array)