Middle names are considered part of the given name field, and thus should always be included in the first name(s) field. For example, if the passport full name is “Edward Samuel Andersen” then the first name field would be “Edward Samuel” and the last name field would be “Andersen”.