Fix query in search.js