How would you modify this function to handle edge cases where the provided minimum and maximum values are equal?
spam lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor creativity violence