10(2.1)If two persons claim to be the surviving spouse of a member referred to in subsection (2), and one of those persons is a spouse because that person was married, other than in a void or voidable marriage, to the member at the time of the member’s death, that spouse is entitled to the return of contributions under subsection (2), if otherwise eligible and subject to subsection 20.01(3), unless there is a valid written agreement between the member and that spouse, or a court order or judgment, that bars that spouse’s claim.