Second Manage Relational Table function causing duplicate entries
An earlier version of this update page, with only one Manage Relational Table function, seems to work just fine. However, when I added a second Manage Relational Table function, I'm now getting duplicate entries on the original table (rel_images). The duplicates seem to be a bit intermittent. If I only try the entry for the last item in the repeated checkbox, it works OK, but any other one I get a duplicate.
This is probably my fault and I'm missing something obvious. To do the second, I duplicated the first iteration and simply changed by hand the relevant information, being careful to name the query with a new name. I just can't seem to find the error that is causing the issue. Original ("withouttags") version and the new version that contains both are attached.