Fixed setupYears for edge cases.