Don't allow searching for an empty string.