Add missing quotes around column names in queries to cassandra

Fixes bug 1271560