Merge actors and materials preserving translucent material?

I have some buildings with 5/6 material slot where windows material is glass (translucent)
How can I merge materials but preserving the glass? I’ve heard about “merge by material type” but I don’t found this option.

A normal merge will cope with all this: