Nested quotation bug fix