Can you please explain how you are adding two last names when creating a patient?
We can able to search patients by using last name. If you have two last names then the search will work when you type first one of that in patient finder screen.
Hope this will help you.
Let us know if you have any concerns.