Try using this method of doing things. I used 1-4 and I noticed you used multiple numbers so make sure to scale mine to yours.
The reason we check if the ‘LevelNumber’ is 4 in the first graph that is controlled by the ‘S’ key is to insure that your selection loops properly. Vice-versa for the second graph being controlled by the ‘W’ Key.
Make sure that in the second graph you are setting the level correctly because I noticed that dragging off of the first int node I set the variable to Two. This should be set to One.