This seems to be a complete misreading of what the article is saying. Nowhere does it claim that "immunity due to prior infection should be counted as due to the vaccine" merely that it makes the "unvaccinated" group look better than it actually is, as it should be further subdivided to "account for past infection" in a subgroup.
Drawing the conclusion that we should therefore ignore the article entirely is unwarranted. Let us not be brazenly dishonest.