Different fare codes cannot be combined in a single PNR so therefore these must be 2 different records. That means that each will follow their own individual status, 72 hours for the B fare and 24 hours for the M fare. It might be worth trying to get a sympathetic Service Director (supervisor) in Reservations to allow both to upgrade at 72 hours but don't be upset/surprised if they follow the rules...