Fixed bug when exporting monthly repeats in ical format (see SF bugs #281)