The logic error is in thinking that a single abusive prison guard necessarily means that all prison guards are inherently bad. That's the same collectivist thinking as a racist.
Except this is like saying, that just because one virus is bad doesnt mean that all diseases are bad. Prisions system are bad, and prision guards are inheritly bad.