minor: tweak query