Fix bug in search section