small fix in tags dialog.

there could be duplicate tags in the listview without this.
Merge pull request #379 from brunodea/small-fix-in-tagsdialog

small fix in tags dialog.