def clean(self):
        cleaned_data = super(LocationTypeStockLevels, self).clean()
        emergency = cleaned_data.get('emergency_level')
        understock = cleaned_data.get('understock_threshold')
        overstock = cleaned_data.get('overstock_threshold')
        if not self.errors and not (emergency < overstock < understock):
            raise forms.ValidationError(_(
                "The Emergency Level must be less than the Low Stock Level, "
                "which much must be less than the Overstock Level."
            ))
        return cleaned_data
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/commtrack/forms.py/LocationTypeStockLevels.clean/swapped operands of `<`