Middle Name Matching with Australian Data Sources

Scenario A B C D E
If -> No middle name is provided to the source; and No middle name is provided to the source; and A middle name is provided to the source; and A middle name is provided to the source; and A middle name is provided to the source; and
And ->  There is no middle name in the source's database for that person There is a middle name in the source's database for that person There is no middle name in the source's database for that person There is a middle name in the source's database for that person; and There is a middle name in the source's database for that person; and
 And ->       The middle names match A middle name does not match
Data sources:          
Australian Electoral Roll Pass* Fail Fail Pass* Fail
DVS Birth Certificate Pass* Fail Fail Pass* Fail
DVS Citizenship Pass* Fail Fail Pass* Fail
DVS Driver's License Pass* Pass* Pass* Pass* Pass*
DVS ImmiCard Pass* Fail Fail Pass* Fail
DVS Medicare Pass* Fail Fail Pass* Fail
DVS Passport Pass* Fail Fail Pass* Fail
DVS Visa Pass* Fail Fail Pass* Fail

* (assuming other details match)