Mil leave and medical leave would be able to return to previous equipment or, if they were wise and bid on larger equipment while out, they'd go to the BES awarded in a vacancy bid.
Even better than that actually...mil leave can return to anything they "could have been awarded" during any vacancy bid during their time away. They don't actually have to have bid it. I returned to the 777 in that way. Furlough returns can only return to what is available for their recall class assignment drop.