Fixed crash bug for .ics files that don't contain events