Fixed bug with end of year for moving average data.