No crash with event files

When using the -e switch, the program did not find the subdelays2 array, and crashed. This commit solves the problem.