added check to avoid non-quorum master counmts