Whenever there is no justice of the peace within the township where any suit cognizable before a justice ought to be brought, or when all the justices of the township are interested in any such suit or otherwise disqualified by law from trying the suit, every such suit may be brought before a justice in the same county.