Guard against undefined listener arrays in EventSequencer

Change-Id: Ida3ba2eaf92cdacaf1ca1294905226fda05c0884
Merge "Guard against undefined listener arrays in EventSequencer"