Prevent dup tags
Fix editTag on multiple nodes space issue

When no common tags present, don't add a space after input