Fix return value for isDuplicate in EventStream

Fixes #35