Fix error in Python 2 map deserializer.