Fix a searchbox bug