When you have a grid with a reference field then the search functionality does not work as expected.
For example grid shows: Owner Dog John Basil However any search for John shows no records because the owner field is an integer in the database but has format set to display it as name.