Inertial Sensor Turning to Forward Driving

We are seeking some help with a programming issue. One of our teams added an Inertial Sensor and has figured out how to make accurate turns. We also have functions for driving forward and backward. So functions for right, left, forward, and backward.

Individually they all work and are accurate.
We can also go
forward(20)
backward(20)
forward(30)
backward(30)

and

turnRight(90)
turnLeft(90)

We can also go from a forward function INTO a turn function.
But we can’t go from a turn function back into a forward or backward function.

Anyone know why? I know I don’t have images of the code. I will get those from their computer when they come back. We are using VEXcode Python

Nevermind. They forgot to reset the motor velocity. Figured it out.