Fix IPD Direct Endorsement for matrix