Fix display of next reset over year changes

If we're still in the old year and the next reset would be in the next
year, the plugin would calculate a bad day count.