TupleTemplate::matches() doesn't modyfi query