Made sure `all_terms` works consistently.
In some cases the `all_terms` option was ignored:
* Faceting on number based fields.
* The `execution_type` was set to `map`.
* In the case the `fields` option was used.

Closes #2861