Yeah that's kinda the whole point. Melee can turn around when the beam happens and still do DPS to guardians, but it doesn't work the same way for ranged. If you switch Ranged and melee assignments the ranged can never have to turn their backs which gives the raid effectively 100% DPS time in phase3.