Fix crash on empty values in CDF plots.