Yeah, herd immunity is an interesting concept and one the anti-vaxx people completely hose up.
For example, a measles vaccine doesn't work on a small percentage of the population. Herd immunity says though that as long as some large percentage of the population is immune, those which the vaccine do not work will be fine. The anti-vaxx people end up pushing the percentage vaccinated below what's required for herd immunity and hose the whole population. Idiots.