Fix nested arrays getting split when using numeric keys

This expands on #2680 specifically @asiral's [comment](https://github.com/laravel/framework/pull/2680#issuecomment-33502878) to join nested arrays that are numerically keyed.