Fixed bug on streak counting. Sorted the resolution records by date, and resolutions by created_at.
Update streaks daily