got it to toggle between private and active queries