it's still not fixed, but there is also some good things:
1) it's not infinite. eventually they'll give up
2)1-3 less enemies during the battle (cuz they can't attack you if they can't leave the cage
3)you can make things harder and avoid this bug by unlocking the cages with thievery(while your other char is talking with kniles.