comparison must filter out first and last day of year because indices are not generated for these days.