Client library: fix compare chunk replicas to skip chunk with no replicas.