iMacros Question

I'm trying to run an iMacros script that will do the following.
Search the HTML of a webpage looking for a keyword in span tags. If the keyword is found click on it, if not then repeat the process.
This is the code I have :

I thought it would only click on things with this code : <span>Word</span>
However it seems like its only the first span tag that matters meaning these get clicked on too : <span>Word3</span> and so on.

Note that adblockers might block our captcha, and other functionality on BHW so if you don't see the captcha or see reduced functionality please disable adblockers to ensure full functionality, note we only allow relevant management verified ads on BHW.