Fixes for counting articles with given ingest state