Fix the same Py3 incompatibility in a different place