Conditional logic not working for Image checkboxes (and normal checkboxes)