Derive queries panel creates a query object from a terms facet
switch field input to text input if no fields list exists