Improved parsing of quotes, multiple quotes were recognized as one.