Recurring events for multiple date times

When adding multiple series of date/times on a recurring event it would not generate the appropriate dates as it only looked at the first instance of CalendarDateTime found. I have now corrected to foreach over all CalendarDateTimes found