Better assert on Percolator

Signed-off-by: chatgris <jboyer@af83.com>
Do not send duplicate items to client

Instead, a list of `query_ids` for this document is returned.

Signed-off-by: chatgris <jboyer@af83.com>