Fixed bug where backup servers had higher priority than primary servers.