Fixed syntax issue with search route