Fixed editing existing tags clearing old ones when adding a new one