'eventStreams' is either undefined, null or an Array. So check for truthiness
before trying to use it like an Array. Fixes #3319 for the branch. This is
probably not a fully correct fix.
bump version from 1 to 2; note: this will collide on Release: with PR #3322, but this one needs to go first
issue 3319 - address Shane's review comment, and add his test
Merge pull request #3320 from jrgm/issue3319

'eventStreams' is either undefined, null or an Array. So check before using.