Exactly
'Chesterton's fence' is the principle that reforms should not be made until the reasoning behind the existing state of affairs is understood.
As an aside, this also highlights one of the key flaws with Chesterton's fence, or at least its overuse: there is almost always _something_ that we don't understand about our changes. In the case of the limes, they understood that citrus fruit helped, but they didn't have the correct biological mechanisms by which it functioned. But this is true today - there are plenty of subjects where we understand lots of things about how something functions, but don't necessarily understand why it behaves that way. And that's just the cases where we know we don't understand something. There are surely many completely unexpected scientific discoveries to come. If we were to apply Chesterton's fence too liberally, we'd get very little done.
The same applies to more mundane cases. In terms of code, I'm generally a big fan of understanding why some feature was implemented before I start making changes to it, but I've had cases where I've tried to understand the original reasoning, but that reasoning later turned out to be wrong. Sometimes the best thing to do is simply to throw out all the old and embrace the unknown, accepting that it will probably go wrong in some ways, but also hoping that a new approach can be found.
So while I'm generally a fan of Chesterton's fence, I think it's important to recognise that it's just one approach in a toolbox of many valid but often contradictory approaches.