We're iterating through the generator's values and then casting those tuples to lists.

The casting turned out to be unnecessary. Its removal will go up with the fixes for the rest of your findings.