Having front limbs that aren't used soley for locomotion can be a great advantage - look at humans, our front limbs are very useful - and being able to fly without losing that could lead to an advantage over a similarly built flying quadraped, who has to give up its front (or rear) limbs as they become wings.
Wyverns not having the third pair of limbs can have advantages if they are a small animal, as you'd have to be able to support the extra weight from the fore-limbs in flight, which would mean you'd require either more wing surface, and/or stronger/denser flight-muscles, and more energy to drive it all - and it takes far more energy to fly a given distance than it does to walk, or even run. So not having those limbs would free up all the nutrients and energy that would be going to unused front limbs so that they have more to be able to fly.
But, who knows, maybe there is a "missing link" form around somewhere with tiny little arms. They wouldn't have just suddenly dropped off, after all.