Fix smartsearch overwrite