The Church has always been composed of those who were a bit more liberal and a bit more conservative. Pre-VII Popes are not "anti-Popes" because they didn't crack down on every cleric with a liberal bent, any more than medieval Popes are anti-Popes because they didn't excommunicate every cleric who lived in concubinage.
We tend to forget this because we live in an age of liberalism and that is our common enemy, but you can be corrupted by being too fanatically, violently conservative just as well as by being a socialist in a cassock. I think the Inquisition was necessary but no doubt it showed the abuses that can arise because of this fanaticism. Torturing people to get a confession and so on, as if they're going to tell the truth in that situation!
The extreme liberalism of the VII Popes shouldn't make us veer too hard in the other direction. Don't forget Christ's mercy and patience. There was nothing that Leo XIII or any of these Popes could have done against the rise of modernism and democratic governments and all the other evils of our time that were gradually squeezing out the truth.