Fix crash when eventlog is not available