Remove caching of event queries

Closes #32.