Make some extra null checkings in Geofence processing