Use props to set and retrieve query anyway

The fact that the query can be edited both from the start page and the result page means that we cannot easily make the statechart set the query argument on a suitable state.