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