Fix publishing of geofence in/out events.