More bug fixes for multi-pgbouncer failover.