fix bug in lists_select_search helper