Idle part is added at the start of a animation, which should not happen

Hey all, a few days back it worked as it should, but now it adds a idle part when the animation starts, and I have no idea why that happens:

It used to transition between sprinting and the animation just fine, but now it goes sprinting–> idle–> animation.

Why is this happening and could someone help me fix this?

Thanks, any help is much appreciated :smiley: