Fix for single date picker when start date but no end date is specified