fix #455 DatePicker maxValue unselectable

After 4e030c64fa76a13139f9ada0180a89446c8fbd4f, the day specified as
maxValue date in CalendarController config might have been unselectable.