Loops: fixed chaining of array ops