Fix bug with occurrence not having an event yet