Fixes bug 847294 - Force running query when do_query is set in the URL.