This will happen alot in the game. Best thing to do it set teams as 1,2,3,4,5,6 etc. This is the best way around it. Also, you might also find still, that they will all attack you but then start taking each other out.
Make sure your defences are up to standard.