From my experience, at least for Alliance Raids, both the one in need at the time of entering and at the end get them. Friend was Tank, I was Healer, we both got them. Healer was in need when we queued, Tank when we checked after we cleared. Unless this also is unintentional and a bug.