All NVS Flash gets erased when eraseMcuConfig is called

I noticed the configuration for the ESP32 in Blynk Edgent uses the Preferences library to store the wifi configuration data. I am also using the Preferences library to store my calibration data. Everything works perfectly until I reset the wifi configuration data at which time it erases all of the NVS Flash. I am trying to find the function that erases the flash to modify it to only erase the wifi configuration data, and not the entire Flash.

I found that commenting out the eraseMcuConfig() line in ConfigStore.h solves the problem. Now it just rewrites the default config to the Flash enabling a change in wifi configuration without erasing the rest of the Flash.