Updated with fix to index publicationid for binaries