Fixed login frequency calculation for multiple granularities.
Merge pull request #566 from bellotastudios/frequency-aggregate-fix

Fixed login frequency calculation for multiple granularities.