fixed a total noob error i made forgetting to convert python string to int before testing for existance in an array.