How to keep existing filter configurations from being reset when uploading a new version of a custom filter?

I'm developing a custom filter for WS 10. Adding a new version of my filter resets all existing configurations. My client is not happy about it. I notice that adding the same version wouldn't. How WS is deciding when to reset the existing configurations? Is there a way to tell WS to keep the existing configurations intact?