Fix bug in events page for #2006

The need for this import entered with #1369.