Fix assertion in percolation with nested docs

Assertion was triggered for percolating documents with nested object
in mapping if the document did not actually contain a nested object.
Instead, in this case we can just use the SingleDocumentPercolatorIndex.