Solve filter bug in historical query.
Add missing filter exprsion to GraphPatternNotTriples().