Fix search result layout issues.