The episode is flawed about evolution. So is Wrath of Khan about how life forms (a torpedo that can turn lifeless moons into jungle planets). Science being wholly accurate isn't the point of Trek. The point is how the characters base their decisions from it. Even you disagree with the decision made here, doesn't make it a bad episode!