small fix in tags dialog.

there could be duplicate tags in the listview without this.