Fix an ANR in the search section