added faster lookup for single term queries