Fix icalendar export bug with verification function.