The percolator needs to deleted percolator documents into account.

PR for #5840