Minor fix to the taxonomy widget.

Relate to issue #2493