Fixed events resource

* had to use @saivlis query
* removed action name from dtl name
Fixed a query

I still don't get why this didn't work before.