Added additional checks to make sure the player list is an array