The state of the visualization when searching for subgraph pattern and then search for node set isn't being cleared