Compatibility fix for API change in ox-icalendar exporter.