Fixed whitespace  entry bug for search