Fixes issues where an array merge overwrites multi-dimensional / sub arrays.