Return proper error on requests with an unbalanced number of quotes.
Merge pull request #1451 from yossigo/unbalanced-quotes-fix

Return proper error on requests with an unbalanced number of quotes.