fixes bug 981696 - Calendar URL with bogus start_date and end_date causing ValueErrors