Fix conversion to Python for C++ containers.