Corrects checkboxes