Logical fallacy
No true Scotsman
A sweeping claim is rescued from a genuine counterexample by redefining membership after the fact. Someone who previously counted is declared not a real member simply because they fail to fit the claim.
Examples
No real marathon runner walks. Ana walked a stretch of the marathon, so she is no real marathon runner.
All genuine volunteers enjoy every shift. Since Paulo dislikes his Friday shift, he was never a genuine volunteer.