Little fix on SearchInField function from generate_admin_ng