Fix search and display warning. references #4150