and set union flag correctly for dawg tests