Fix array_merge(): Argument #2 is not an array

That function now no longer returns an array but an iterator.

Change-Id: Ia0b317662546c01b0076332ddcbdada137ac1867