Set correct max-height for search results