Addresses issue with where clause merging and empty array IN modifiers