Fix data grouping hightcharts
Fix bug on historize