Lets make life simple and just weed out the mag retention in the rig's well to begin with.
Strip a mag down to just the body.
lock the bolt home, and lock the mag in the well via the catch.
Now take a pencil's eraser side, shove the mag release button all the way in, Shove the mag all the way up until you bottom the top of the feed lips out against the bottom of the carrier, take the pencil and mark a line on the back body at the bottom of the well entry lip, then let the mag slip back down to lock back on the catch.
What is the distance from the mark line on the mag back to the bottom of the mag well, hence how far down is the mag sagging in the well locked by the mag catch from the bottom of the carrier. Ideally, should be around 1/16", and still good up to around 1/8". If you are into the 1/4" range plus, then here is the problem, since any rocking of the mag during recoil will allow the back of the mag to dip down, and will allow the bolt to over run the top round in the mag.
So once we can weed out the mag being retained too low in the well as the problem or not, then it comes down to either the mag not recovering correctly, or the bolt not coming back all the way instead.
If the bolt is locking back on the bolt catch after the last round fired, then that weeds out the rifle short stroking, and just leaves the mag not recovering correctly instead. As for mag not recovering correctly, first solution here to pull the mag down and CLP clean it. Hence fouling can build up inside the (even when new) and cleaning the mag parts often resolves this problem of the follower binding up inside the mag body.