Made sure that types (especially event log entry types) are never scrambled