Ticket searches with OlderDate/NewerDate restrictions are cancelled if OlderDate is before NewerDate or if NewerDate is in the future.
Since those kinds of searches would create empty results regardless of other restrictions, cancelling the searches speeds up the response.
This fixes bug #3434.