Reset unrestricted scope after each query