removed encodeURIComponent of filter as it was double encoding the facet searches which was converting %20 to %2520