Fixed a bug that was causing "UB" to be selected after clearing the trs widget.

Closes #35