The thing is, it is possible for systems and institutions to not have done enough to stop discrimination, which means structurally they need to change. Of course, this allows some bad eggs to come in and be bad eggs. But it is also actually possible that at some point, once it basically becomes the norm, others also get sucked into it thinking this is how it is, when it should not be.
So, yes, while the people who have been named, having had a brush in international cricket, were all expected to know and do better than what they did and they should get their just desserts for it. But it also means Yorkshire and maybe even the ECB has to create better processes around their organization to ensure this type of behaviour does not become the norm ever again.