Query building for OAI of packages with set filtering based on content provider