Use lower case to check it tag exist.
Check selected tag first for duplicate.