Solved minor bug on stats gathering.

Nothing else to say.