fix for icalcomponent_foreach_recurrence() and large durations between recurrences (e.g. FREQ=YEARLY)