It is pretty easy to correct one stitch, and probably a couple, but 13? While doable definitely, it would be MUCH QUICKER (IMHO) to frog back to the messed up stitches and just do it again.
Your option when you find a purl or knit in the wrong place and you’ve knit a ways beyond it already is to, when you get to that screwed up stitch, let it drop off the needles down to where the mistake was and then, using a crochet hook, weave it back up correctly. There are videos, probably in the advanced tech section?, that discuss/show picking up dropped stitches, which is, in effect, what that stitch would be.
Again, as you have only knit one row over the flipped stitches and there are so many of them, I’d frog back and do over.
Best of luck.