Actually the track should have been RK in some custody and he escapes and Zandy called in for rescue mission.
Ideally that is how the best officers in the country are used. Not to stand guard to a terrorist. You can watch any cop movie, especially the scene in Malayalam movie " Commissioner" where the hero invites the villain and gives him juice to drink. Talks nicely to him. After that instead of taking the glass, he just wipes out the finger prints from the glass to compare. What a way to fool villain.
I mean it also has hits and misses where the villain wins, but hero's steps are shown equally smarter.
And if CVs have run out of ideas they should watch Malayalam movie " Drishyam" where a 4th standard man stands up to the police force to save his daughter. It is not that he defeated the IPS officer and her prowess, but how he did it. Superb intelligent scripting.
Remember that intelligence script is written for a man who has just completed 4th standard, what level of intelligence should have gone in scripting the escape of RK against the smart IPS officers Sandhya and Zakir.
Here we see LKG kids playing Police and Robber