Factory should use isLiteral() for literal, not isEscaped(). This seems to fix the preview column issue.