Fix empty dates.