Added support for unterminated quoted string in search autocomplete and tests.