The reason is that when you press "X" player mode 1 triggers true. In this case you Set mode to "Anim2" causing Player Mode 2 to also trigger true right after. Pretty sure that's your problem.
Its a bit weird setup you have made.
If you make it like this instead:
On X pressed
-------> Player.Mode = "Anim1"
------------------ : set Mode to "Anim2"
-------> Else
------------------: Set Mode = "Anim1"
Then you only need 1 Group to handle the switching for you.
If you need it to handle more you just add conditions to the Else so:
On X pressed
-------> Player.Mode = "Anim1"
------------------ set Mode to "Anim2"
-------> Else
---------Player.Mode = "Anim2"
------------------ set Mode = "Anim3"
-------> Else
---------Player.Mode = "Anim3"
----------------- set Mode = "Anim4"
-------> Else
--------- Player.Mode = "Anim4"
------------------ Set Mode = "Anim5"
.. etc