fix detection of ids on events endpoint
Merge pull request #3 from thnkloud9/master

fix detection of ids on events endpoint