Fix filters in storeConfig: they where shared across multiple stores

Problem was that storeConfig is an object and thus modified by reference