def detect_and_fix_two_part_surname(self, args):
i = <NUM_LIT:0><EOL>while i < len(args) - <NUM_LIT:1>:<EOL><INDENT>if args[i].lower() in self.family_name_prefixes:<EOL><INDENT>args[i] = '<STR_LIT:U+0020>'.join(args[i:i+<NUM_LIT:2>])<EOL>del(args[i+<NUM_LIT:1>])<EOL>break<EOL><DEDENT>else:<EOL><INDENT>i += <NUM_LIT:1><EOL><DEDENT><DEDENT>
This detects common family name prefixes and joins them to the last name,
so names like "De Kuyper" don't end up with "De" as a middle name.