fix(ingest): Fixed handling pending state for archiving ingest items.

SD-459