Added fail condition for initial search.