That’s exactly the opposite of nonsense; it’s proving the point. They get called “bad apples” specifically because the idiom is that “a few bad apples spoils the bunch.”
The people who say “it’s just a few bad apples” as if that excuses it are the ones who don’t have the slightest fucking clue what they’re talking about.