Frontend: Fix search click event not working