fix analytics bug - not showing the right number of datapoints