Since it was pre-owned there's a number a things a previous could have done to the pistol in an attempt to better what the factory did. It's kinda like hot rodders who add a bunch of performance parts to their cars to make it perform better. It takes more than a mixture of parts...no matter who makes them or how high the quality...it takes an intelligent mix of parts designed to work in unison to accomplish a goal. Sometimes mixing parts makes for worse performance if not properly matched up.
The easiest thing is to try a different magazine or ammunition as I mentioned previously. If the problem goes away...you're golden. If it persists, you have to figure out what's wrong. It could be a previous owner installed a too-strong a recoil spring beyond the ability of the ammunition power level to overcome it. I've always understood that shorter barrel pistols are more sensitive to recoil spring pressure and reliability than full-size pistols...regardless of maker. With short slide pistols it seems that mass/momentum/slide velocity treads a much finer line between reliability and frame bashing than full-size pistols and the mechanical relationships is more critical.
I'm no gunsmith but I do try and learn from others should I have similar problems...plus I also come from a car hobbyist background. Work with the most basic and easiest (thus cheapest) diagnostics first and work your way up. Don't start throwing money at and replacing parts wholesale...you might fix the problem but won't know what cause the problem.
It doesn't sound like your issue is receiver related but magazine, slide or ammunition related. There's also no way of knowing whether "Bubba's Basement and Ham-Handed Gunsmithing" has had a hand in the pistol, either.
I would do it this way...
A field stripping and complete cleaning and lubrication...
Try another magazine...
Try different ammunition...
Try a different recoil spring.
If something there doesn't take care of the problem, then it's time to dig in further.