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

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