dimagi/commcare-hq — pull request #4128 by NoahCarnahan (2014-08-21 14:52:17+00:00)
Title: Fixed a bug with empty ES "or" filters

If `user_type_filters` is an empty list, we get an empty or filter, which ES doesn't like. Perhaps a better thing to do would be to modify the `filters.OR` function to handle this situation itself. What do you think @esoergel ? (feel free to make the changes yourself if you think of something better)