search in tabs: fixes and improvements