You are altering the field name that you are looking in by altering the where statement, your are not altering the values you are looking for.
WHERE meta_key LIKE "group_repeater_%_subfield" AND meta_value IN ......
The instructions are to alter the first part, not the second