Fix IPD Direct Endorsement computation