Based on Wikipedia's definition of this fallacy, I don't think your examples fit. From Wikipedia:
No true Scotsman is an informal logical fallacy, an ad hoc attempt to retain an unreasoned assertion.[1] When faced with a counterexample to a universal claim, rather than denying the counterexample or rejecting the original universal claim, this fallacy modifies the subject of the assertion to exclude the specific case or others like it by rhetoric, without reference to any specific objective rule.
The key part is "without reference to any specific objective rule", which I don't think you're taking into account.
No true Scotsman is an informal logical fallacy, an ad hoc attempt to retain an unreasoned assertion.[1] When faced with a counterexample to a universal claim, rather than denying the counterexample or rejecting the original universal claim, this fallacy modifies the subject of the assertion to exclude the specific case or others like it by rhetoric, without reference to any specific objective rule.
The key part is "without reference to any specific objective rule", which I don't think you're taking into account.