This is returned as the last row, the group record ID looks cut off
Group_Member__c:{Id=a181K000005jd11QAA, Contact__c=0031K00002tTqaQQAS, Group__c=a171K00000
Query is
list<group_member__c> gmm = ([SELECT id, contact__r.mobilePhoneString__c, group__c from group_member__c where (is_sms_group__c = true and status__c = 'Active')]);
system.debug(gmm);
Maybe the ID is correct and the discrepancy is at system.debug?
Edit - just realized the query isn't returning all of the records I need. Double-checked data by creating an equivalent report. Very weird