Add message when search wraps.
Fix incorrect doc string.