Bug fix: SQLite quotes redux v2 (Issue #521)