Test case that shows that IN() predicates are not produced correctly