This method does not return NSNotFound so we check this way instead.