Fixed PHP-829: Segfault when a Replicaset doesn't have a passive server