Fixed backwards compatibility with Elasticsearch URLs setting