Handles cases when search_field[0] is undefined