fix inverted logic (to preserve the existing config value)