Fix for Customer not showing in ajax search

this commit fixes #5836