Repeating group or Condition bug + Fix

We have a whatsapp API call (getContacts) from Green API that we use as a data source of a repeating group. When I tried counting (text element) the the repeating group items, it was showing 1 but the repeating group had no items showing.

I found out that it was the condition we had from a group inside the repeating group, but it is strange that it crashes the repeating group’s content because the condition was just simply to check if the current item is the last item then change the border style (Current cell’s Get group IDs 's id is RepeatingGroup Contacts 's List of Get group IDses :last item 's id).

That condition was working before and had not been touched. This may be due to recent Bubble updates.

The fix I made was changing the condition from “Current cell’s Get group IDs’s ID is RepeatingGroup Contacts’s List of Get group IDses:last item’s ID” to “Current cell’s index is RepeatingGroup Contacts’s List of Get group IDses:count.”

This sounds very similar to an issue I’ve been seeing. Certain state variables are empty inside of a repeating group query, but print fine in a different scope. I also suspect this is related to a recent bubble change as these are pages that have been working for years and suddenly started breaking in odd ways just recently.