Fixed elastic client kwargs passing