Fix last and first event in loading events.json