[Bug 6005] riched20 modify flag incorrectly set