Reset scoped query builder when queries are executed.