Fixed per day data mining

The groups were not correct. It was mining across too much information.
I group then mine now whereas before it was mining then grouping.