[Bug 27741] Imbricated for loops parameters not expanded correctly