I've sporadically been having this problem for a couple of years now (since I have SCP, to be honest), and I already have opened a thread about this issue a couple of years ago. But this is making me so angry sometimes, that I'd like to bring it up once more.
I'm currently working on a mission where I have two hostile bomber wings jumping in. One of them attacks a station, the other one a Mentu-class cruiser. Both are supposed to disarm their targets. The wing that goes for the station fulfills its work just perfectly. The other one just flys around and attacks targets randomly. The cruiser is not protected. The orders are given to the wing, not to each of its ships.
As I said, I had this problem before that hostile wings just don't do what they are supposed to and fly around and chase any enemy target.
Any suggestions (except "redo the mission")? Any explanations at least why this error occurs sometimes?