Python 3 fix, can no longer do int < None