Bugfix for iCal generation