Fixed Highstock errors with two points with the same X value. Closes #1588.