If we cannot parse a date in the end parameter, then end is None

Thanks @puiterwijk