Fixes bug that produced crash when using event files