Adding support for grouped where clauses.
Adding some more tests for nested where queries.
Slightly simplifying nested where logic.
Testing nested whereIn query clause.
Simplifying the internal structure of where clauses.