Added workaround for strange bug that causes archive queries to select data outside of requested set when using ArchiveProcessing instances to get archive IDs.
Merge branch 'master' into 1459