Fix bug on iPhone when searching.