Logically it works if you use the old definition of a vaccine, which was defined as something that PREVENTS disease.
If you get the disease, then obviously you were unvaccinated, or if you had gotten a shot, it "didn't work"
But we're talking about the current "vaccine" as if it bears any...