Fix URL builder for events.