[Bug 6005] New: riched20 modify flag incorrectly set