fix geospatial query for mongodb 2.6+