The percolator needs to deleted percolator documents into account when running in near realtime mode.

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

Closes #5843
Closes #5840
Added FilteredQuery to the list of forbidden apis