Updated facet widget to specify facet fields from attributes of the head option