Use nested where for where arrays
Merge pull request #4819 from JosephSilber/nested-where-arrays

Use nested where for where arrays