Character animation not playing properly

I have made an animation for hanging on the ledge for my 3D character using Control Rig and Level Sequencer. Animation looks fine, but when I try to play it once my character grabs onto the ledge, legs of the character behave totally different than they should. My guess is that this issue is related to IK but I’m not sure.

image