add support for value functions on terms facets/filters