Fixes es_server autodiscovery.