Little improvements to speed for *gomniaquery