Fixed extra day appearing at the end of the month.