Temporary: made ES plugin robust against deprecated versions