Fix bug when rolling to a new month