Fix validation of events_use parameter
Merge pull request #329 from saz/patch-2

Fix validation of events_use parameter