Fix: Handle null coordinates correctly when filtering location by distance threshold

Fixes #69