Fix recurring end date bug