Edit fixed for checkboxes