Fixed totals saving to database
Merge pull request #126 from uptownjimmy/SaveTotalsFix

Fixed totals saving to database