Fix for Stats.resetCounter(key) throwing NPE before calling increment or get for the same key