The underlying elasticsearch client disables certain options with a value of -1. Those options are:
- bulk flush max actions
- bulk flush max size
- bulk flush interval
Because of custom checks in our builder for ES 7 -1 is not a valid value for these options. We should fix those preconditions to make them accept -1.