Fixed: bug with infinite recursion when trying to recreate perfcounters.