Fix maxPastDate attribute for calendar component.

The maxPastDate attribute did not disable dates before the passed in date. Now it does.