Bug fix: SQLite quotes redux (Issue #521)