Small mindfart with logic with search_* type