[BUGFIX] Change duplicate lable key search to search_whole_database