Super common. Any time you are learning any sort of new motor skill, you will find yourself flip-flopping between different versions of it. This is your motor system trying to figure out what the one you want feels like, and zero in on that over time. If you have any similar version of the thing previously learned, this can also exert an influence. If you’re already great at the forward roll for example, you may initially find your hands playing it even though you don’t mean to.
As usual, massive repetition is not the way. Short sessions, multiple varied attempts trying to do it correctly, and stopping on a high note when feel like you get it. Then you come back a few minutes later, try to replicate that success. You’re trying to replicate as many success attempts as you can in a short amount of time, thirty minutes or so, and then put it down. You’re done.
Then you put the guitar down and make sure you sleep at night and come back the next day. You’ll probably be a little better. It takes anywhere from 24 to 72 hours to start to consolidate new motor movements and the practice is just a catalyst for that.
Edit: I should note that this is all predicated on making the motion correctly in the first place. It’s not just the notes, it’s the motor movements. No sense in running this process on stringhopping.