I’ve been told by a CX agent before, it only matters when you require a visa to get into the country you’re arriving and the ticket needs to match exactly the visa in the passport (ie with all names), but not a problem if visa is not required to enter the country you flying to.
If in doubt, just call CX.