I am running into a problem where I have a "for loop" that is running twice and returning duplicated results. I have no way around this but to stop this "for loop" of running twice somehow. When the "for loop" runs that's what I get, as an example:
I need to have only the first two values since the third and fourth values are duplicated, any way is there a way to know and to stop this "for loop" to run twice by checking if it already ran or by checking the value of the last result, or some other way?