nil failure status, fixing search check for empty