Fixed a crash that occured on a LogEvent