BUG: less false positives with SettingWithCopy (GH6025)

closes #6025