fix geo_near and max_distance query param.