Fix es_server typo

This prevents es_server from getting set properly in some cases.