making search work for master

While I understand the logic adjustment, I think the comment is misleading, RE: an empty list's `.nil?` always returning true --
```
mart6985@mart6985-laptop:~$ irb
irb(main):001:0> [].nil? # => false
=> false
```

I'm going to adjust the comment to denote what I think is meant:
```
irb(main):006:0> [].first.nil?
=> true
```