Fix abort/segv wheen inserting at the end of a list that has already been iterated over