Fix for #53. Exit search when no input given.