Fix array merge key problem