Fix getting last ingestion document
Merge branch 'release-v6.1'