Bug fix: issue where null user_id fields could sneak into the stats_balances table which caused issues with subsequent runs of the script. Added failsafes.
Bug fix: issue where null user_id fields could sneak into the stats_balances table which caused issues with subsequent runs of the script. Added failsafes.

wizkid057/wizstats,wizkid057/wizstats