Fixed issue when autogenerating multiple weeks.
fixes #9