Webpage in loop - loosing data after first itteration


I have two loops:

First one collects the selectors and second one clicks the links collected in first one. In each link I invoke workflow as the process is quite long.

  1. Click the link
  2. Gather data from it
  3. Go to another website
  4. Check the data collected
  5. Come back to link window and fulfil the gaps with data from step 4.

I have two browser windows and just switch between them when neccessary.

Everything is working except one thing. The following itterations have the same data like the first one. I have tried to clear the variables but still the same. I have also tried to run highlight just to make sure the selectors are okay and they are. Is there any reason why uipath doesn’t gather the ongoing data and just keeps the data from first itter?