My guess would be stretching in the leg she wants to improve. I have done this many times and stretching would be the best way.
You can go into a split and then lean as far forward as you can.
Another one is to when in the split grab your toes and pull up,stretching near the actual foot which then gives you more of a chance to lift your leg higher.
Answer:
There is no possible way to prevent this.
Explanation:
Unless you count not skating at all. Her luck isn't on her side. Well, she could've used a railing or double skates.