fixed a bug wherein it wouldn't create a newly ingested db rec