Fixed bug #3 found by sanchofox: "Today is July 31, and running the sample project, I noticed that is highlighted (rightly) on July 31. But scrolling through the calendar month of September I arrived, and I realized that there were indications of September 31 (which obviously does not exist)!"