Only include valid dates

This fixes an issue where the calendar will jump to the date 0000-00-00
when you start typing.
Merge pull request #110 from magnars/only-include-valid-dates

Only include valid dates