Minor improvements on the search widget