#7338: Fix in trendline when comparing by year.

Trendline would fail to show "last yeear" events when there were no events in the corresponding period of the current year.