fix mongostat --discover with mongos
SERVER-8771 Additional fix for mongostat --discover with mongos