Fix the coercion issue related to GeoPoint near
Check for null & undefined values