Filter out potential empty dates.