Bug fix groupedopts: don't cut off the tail