Correcting logic in IngestCommand
Preventing warning
Removing whitespace