Updated date criteria to pull previous month even at year end.