Fixed bugs in algorithm of updating a flot chart.