Tag merging: fixed validation