Generalized for Iterables and Arrays

Solr queries containing arrays of arbitrary type
and generic iterable objects will be correctly executed too.