Fixing issue with required checkboxes