Made fix for ending date when one is applied to a recurrence object.