Multi-select lookup iteration loop limited to 1?

Multi-select lookup iteration loop limited to 1?

It seems that Deluge only permits a for each... loop for one lookup multi-select. When I try to do 2, it saves the script successfully, but when I reload it has changed the field name in the second for loop to the first multi-select fieldname.

e.g.,: I took your California Pet Sitters CRM example (creator.zoho.com/egutshall/copy-of-the-california-pet-sitters-crm/)

which has the multi-select lookup "We Offer"
I added a second multi-select lookup "Deals"

If I try to add a for each loop for "Deals" - it gets renamed to "We Offer"


for each WeOffer xxx in Add_Client_Service [ID == input.ID]
{
temp = (temp + xxx.Rate);
}
for each Deals yyy in Add_Client_Service [ID == input.ID]
{
temp = (temp + 500 + yyy.Rate);
}










saves OK, but then becomes:


for each WeOffer xxx in Add_Client_Service [ID == input.ID]
{
temp = (temp + xxx.Rate);
}
for each WeOffer yyy in Add_Client_Service [ID == input.ID]
{
temp = (temp + 500 + yyy.Rate);
}









The many, many nuances of For..each loops are quite frustrating!! Please help!