Fix bug in links to event detail page