Improve streak calculation.