While I'm not 100% sure this is the cause, I'm only seeing the following problems when using this plugin.
1. When the opponent uses moves like Volt Switch and U-Turn, the pokemon doesn't always switch out. In rare cases there is a switch, but most of the time it's like the AI can chose to just...