bug that caused an error when high frequency data did not cover a full year