Fix incorrect check for checkboxes on option page