Fixed bug introduced in 76c5cec4df: events always set
Fixed bug introduced in 76c5cec4df: events always set

CreateEvent was creating events that were always initialized to
set due to a bug introduced in the 76c5cec4df refactoring.

neosmart/pevents,neosmart/pevents