catch case of no search

Signed-off-by: Nathanael Burt <nathanael.burt@gmail.com>