Blend Space change between jog forward, jog right and jog left is not working

If i make a BlendSpace with the variables speed and direction and use it in my animation blueprint and get the direction and speed from the player, and then use the blendspace in my state machine with the right variables, and then when i start playing the game and my character is running forward everything works fine, but if i want it to move right and tip on the keyboard the key d, it moves right but with the animation jog forward. I have the same problem with jog left and jog backwards.

Are you sure that the direction variable is being calculated correctly?