Fixed min/max date bug

If a minimum or maximum date was specified in the initial creation options, it also sets the (min|max)Year and (min|max)Month properties. These properties weren't updated if the minimum or maximum dates were changed after creation.