Fix crash with empty event vector - somehow my compiler optimizes this
problem away...