@classmethod
    def get_value(cls, request, domain):
        value = super(BaseSingleOptionFilter, cls).get_value(request, domain)
        if cls.is_paginated:
            return value if value else None
        if isinstance(cls, cls):
            instance = cls
        else:
            instance = cls(request, domain)
        valid_options = [op[0] for op in instance.options]
        if valid_options in value:
            return value
        return None
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reports/filters/base.py/BaseSingleOptionFilter.get_value/swapped operands of `in`