Fixed yet another Python 2/3 issue.