Term query corrected