Cant remove indexes that has an equal variable?

Im trying to check if indexes has the same variable which is my category that im checking if its equal to my current question but it seems to mess up alot of things. it does make it so i don’t see any index that doesn’t have the same category but it might show the same question again and again or even show an index that has no information at all?

you realize that your removing the index prior to getting the table row right. that would give you all kinds of erratic behavior.

i dont think so

i just want to remove all the indexes that doesn’t have the same name.

Got it working by doing it all in my custom even that function as a start playing and not in the question setup