Macabre Waltz is supposed to only sacrifice Melee Wraiths and Blood Spectres, and this is usually the case. There’s a niche situation where if you have more than one Mage and only one melee wraith, the others will start casting Profane Oblation after the first Mage, and will target your ranged wraiths instead.
Easily tested in the Arena testing dummies with only Summon Wraith and Summon Skeletal Mage equipped. Prep your 3-5 mages and make sure you have a way to summon a non-melee wraith, then press summon wraith one at a time until you have a few ranged wraiths and can see that they’re being sacrificed with the Profane Oblation animation if you only summon one melee wraith.