Fix case where "$yn" is empty.