you have to do https://github.com/dimagi/core-hq/blob/master/corehq/apps/reports/filters/base.py#L161