Fix be_grouped_into with proper variable