Altered ingest logic to account for issues.