do not try to generate a group label if none is defined. Closes #1401