Little fix/feature on stats plugin