Remove facets param from query if is empty array