I noticed that if I had a paragraph with the \keep attribute, and then use "ASet( WPAT_ParKeepN, 1 )" or "ASetAdd( WPAT_ParKeepN, 1 )" to add the KeepN property, the \keep was replace by \keepn in the RTF instead of having both. I would have expected both to be there because they seem to be mutually exclusive attributes; however, it still seems to act like the \keep is still there.
I was using D7's debug to view the RTF using WPRichText1.AsString.
WpTools 5.18.5