Advance domIndex when inserting at end.