Fixed mongos failover behavior