[geoip] fix use in queries