Posts tagged with a-new-tag does not appear

The first line in the code is the culprit. It takes in current year and starts gathering posts from current year and goes into the past.