We may need a setTimeout() because the users are complaining about "deleting all queries" but in actuality the queries have not all been deleted it is the refresh grid that is hiding them from appearing.