changes facet query to use active query facets instead of global, when available