Sometimes children are added with a key less than the end of the list, and so similar algorithm as `child_moved` should be applied.