At one point, I believe early in the Gen 3 production, or perhaps earlier, the wasp-waisted (thinner in the middle) slide lock spring on the compact Glocks was replaced with one that is equally wide along the entire spring. If you have the earlier one, simple replace it with the newer production one.
Best, Jon