Fixed situation where `getArtifactResults()` could get stuck in a loop