Fix crash when choosing an empty start gram