Another fix for Python backend.