I have a gallery built off a Sharepoint list "Suppliers" as follows :


The "Suppliers" button feeds the current gallery item into a variable :

This is used by a second table which is fed from the "Supplier Contacts" table:

This is supposed to use the SupplierID value to select all the supplier contacts for each supplier, when I click the "Suppliers" button.
There is a text box at the top of my second gallery that indicates the Supplier Name and the number of Contacts the supplier has, and that illustrates the issue I'm having :

So the first part works fine, the supplier name is contained in my "Suppliers" list and is collected into the "colSuppliers" collection, from which it is correctly identified.
The issue is the second part. This particular supplier has 4 contacts, as you can see its listing one. It IS listing one of the 4 contacts which are assigned to this supplier in my gallery, but not the other 3.
This only lists one of the four entries in the colSupplierContact list, and I cannot for the life of me work out why.
From the code I can see it correctly knows that the varSupplierContact.SupplierID value is 62 :

So I can't figure out why this isn't working.