Revert "Fix error in event views"

This reverts commit 372f723d45ce4c8e2344a0bb96d64a40f68cdc7b.