The percolator needs to take deleted percolator documents into account.

This bug only occurs in non-realtime mode when query, filter, facet or aggs is used.

PR for #5840