Widget search not working properly