Py3 fix: TypeError raised if field is not an object