It's not unusual for the companion on a 2 person PNR to be upgraded 1st. On two person PNR you both are treated as the higher level. While they've never confirmed it, I guess that it goes by the person who'd ticket was issued first (each ticket is issued consecutively not concurrently).