This is merging the same array twice. Is this intended?