fix `highlight_query` in percolator

When highlighting with the percolator a `highlight_query` caused UnsupportedOperationException