I tried to make these edits:
Comment: Added 'not' in so this works for newly created objects only. I removed it in my Q for testing.
Comment: The unedited answer does not work. The original intention is to provide working code that matches my code. I have edited my code, and I am reflecting this change in this answer.
Each time it was rejected:
This edit deviates from the original intent of the post. Even edits that must make drastic changes should strive to preserve the goals of the post's owner
Emphasis mine
The original poster (OP) came by and made those edits for me.
I've updated the answer with the edit you wanted to make, also added [0] to deal with the tuple issue
In my opinion, this comes under:
To correct minor mistakes or add updates as the post ages
From here
If that hadn't been done, then anyone coming by might have seen that my not
in the question had been removed.
I understand and respect that you don't want edits that deviate from the original intent. I tried to be super-clear with my second edit reason.
How could I avoid this in the future? Change my edit reason to be even clearer?