fix PostGIS near and inside