You are fine. The middle will be munged into first most often. And I do not think passports (US at least) even have lower case letters on the formal match line at the bottom.
The only real pain is when you go to locate the record on the website, as you found out,