We need to capture the config so that we can apply the correct `QueryEnhancerSelector` and upper/lower template for case-insensitive comparison/sorting.