Fix first day of the month issue.