fix issue with nil GeofenceViolation.event_type