[MRM-1327] make sure getArtifactsByDateRange and getArtifactsByChecksum query is restricted to the right repository