Fixed issue when TagsLineEdit widget returns duplicated tags
Fixed access to deleted object. Fixes #1