The best way to avoid the problem (because I don't see the airlines fixing it any time soon) is to book each segment individually on nwa.com. That'll get OLCI to print you out two boarding passes for the "direct" flight and eligible for upgrades independently on both flights.