The fun of python, forgot to cast a string to an int before doing a comparison