I am using a cmd.iterate command to get the residue ids for selected residues. I works fine for a single structure. But when I run the program with a loop for more than one file, cmd.iterate command appends the ids to previous ids... How can I get rid of this