Fixed previous month stats for dashboard widget. CLoses #717