Resolved bug: single quotes in document content broke queries