Fix missing switch of Append -> add (#2358).