Is this search guaranteed to find the name, so the return won't throw an exception?