Fixed crash on too many data points for same x value