Fixed array_merge. Ref issue #2