Fix typo in search initialization