fixed additional glitches in ingestion record-keeping logic