Add warning on no data points.