Fixed MASTER_REG_REPLY peer calc

Was previously really messed up, but worked some of the time by some
crazy twist of fate.