Fixed the geo location queries.