Modify raw SQL if parameter bindings are arrays
Merge branch 'flattenRawArrays' into latest