This episode was good, though not as good as the first. And the reasons it wasn't as good are partly the reasons that, as a reader, I would have chosen to start the series on the Prelude to Foundation novel, instead of the Foundation novel.
People complaining about that last sequence simply don't get that its results are essential to the plot of the novels. But I get why they complain in viewer terms, and those problems would not have arisen if they had started with the Prelude novel. That said, in this, they are following Asimov himself and there is little to criticize about being faithful to the original.
Now I turn to a more essential problem stemming from the opposite choice. I have zero issues with the gender change (from the books) of the Demerzel character, but I certainly would not have shown THAT scene and the subsequent conversation scene since they give away a reveal that's supposed to be five books in. Anyone who has read the books knows what I'm talking about and anyone who hasn't, will have the books partly spoiled by the series in this episode, not by this review. The scenes change the behavioral essence of Demerzel (the Zeroth Law for book readers) and of the Cleons's motivations and behavior. And, worst of all, the change serves no discernible purpose. Of all the things that should not have been changed from the books this was number one. And it is for this perplexing choice that I take points.