Validation check for duplicate criteria and options