Fixed resetting of stats.