Another python 3 long integer fix