Queries with several queries inside moved to the workflow.
From the Query class deleted all stored data except Order.