Hack.
Proper unit_flags for wave npcs are 33555264.
Proper boss unit_flags are 832.