Changed to recognize entire label name including group name.