Fixing percolation of documents with TTL set

When a type is configured with a TTL, percolation of documents of this type
was not possible and threw an exception. This fix ignores the TTL for percolation instead of
throwing an exception that the document is already expired.

Closes #2975