Fixed bug with generating URLs containning search parameters that are arrays.