fix lat/lon filtering