remove dependence of query system on query field ids since they don't
exist for ephemeral queries. also set needed default values in query fields.
add ephemeral queries to workflow.