Your latest patch to restore the loop.c behavior of scanning before insertion does fix PR 9745. David