Attempt to make the creation of the NSB performance counters more resilient to errors from previous weird states.