The logic in the `attach` method of `ConfigurationPropertySources` is wrong casing it to always reattach.