Added TermQuery change from InQuery removal