Fixed bug with near point queries. noew both radius and distance queries are supported