more fixes for PerseusDL/perseids_docs#175 - apply renumbering to insertion_id as well as head and look for head value as a string not an int