A symptomatic fix for #2722

When a query is executed twice, for example qhen cloned or when marked
as dirty, it will run the contain process again. This is potentially
dangerous and confusing for some users. The best solution we have for
now is to discourage users from resuing a query that was executed before
until we find a proper way of handling this case.