First off, check if the length is < 4 just in case you change something so it adds 2 at once. If the array is larger than 4 it will run forever.
Next, dont connect the output of the get random int node to your add node. That makes a new int. One that you didnt check.