Made highlight query also work in the percolate api.