[fix bug 1002420] Optimize longest streak calculation.

* Include only the users with a report in the last 24 hours, in the calculation.
Merge pull request #727 from akatsoulas/1002420

[fix bug 1002420] Optimize longest streak task.