In range mode, after setting the dates dynamically, when you click on the name of a month to select the entire month, is not working properly.
Here is a working demo: http://jsfiddle.net/L6nEv/
Click on "Today" link and try to click on a month name to see the error.