Revert "Revert "Fix #11003 TypeError: can only concatenate list (not "Im...

...mutableLazyProxy(list)") to list""

This reverts commit 58ac70b85fa40c8d869dbba0a83c946af032442c.