[BUGFIX] Ensure native view locations is array before merge