Add dynamic facets query