Enhance performance and fix data uniqueness issues with curated package feeds

Fixes for #908 and #987.