No, the iteration is working properly. It's only showing the ones that have their conditions met.
The thing I'm having problems with is writing the code to properly display them in a window, and then closing that window. I build the code in a random roomscript and it works, but I'm not able to make it its own script (so that I can trigger it from say, the menubar)