Fix duplicate tag check when editing

See: https://www.woltlab.com/forum/index.php/Thread/219837-Problem-bei-der-TAG-Verwaltung-Integrity-constraint-violation-1062-Duplicate-ent/