Directory application problem

Hello,

I have a problem with the Directory app if a user’s username has 3 words. For example Obi Wan Kenobi.
If I allow entering the first name app looking only for the first word if I allow entering the last name app looking for the 2nd word instead of 3rd.
How can I solve this issue?