Make array to_sensei use TermQuery if it only has one element