Fixes #4 .Empty search bar causes warning and refuses to search