We can perform the assertion and add to the seenMembers list in the same loop. I'll change this.