[fix] broken code path due to assignment faux pas
[fix] default search value broken due to assignment faux pas