SqlLiterals quoting fix

Added SqlLiteral check for quote method.