Fixes bug in JSON IN query for iterables
I don't like this patch for a couple of reasons, nor am I sure I understand the goal behind supporting such a query. Namely because it mutates the expression state when sql() is called, which is not done elsewhere in the codebase. Additionally, searching for an exact array within a json field seems problematic because there's no possibility of doing so efficiently from the database perspective.

I'm going to pass on this patch, but will look at the original issue and give it some thought.
Resolves issue #2444