The Copy function does not allow for a nested list in Mod with objects that are an empty list. It tries to flattern the list but end up with naming mismatches because of the empty list, so it fails silently (as this specific call of Copy in Lines 43-50 of recoverModePre) is wrapped with capture.outputs(). I would suggest thinking about a solution for this (even if it is testing for an empty list inside a nested list saying at this point "All objects in Mod, including nested lists, need to be named"). We can brainstorm a solution if you like.