Fixed incorrect link clicking logic in Client->search()