[fix bug 1002420] Optimize longest streak task.

* Include only the users with a report in the last 24 hours, in the calculation.