Slightly simplified a conditional in EventModel.