Use parameterized queries to improve performance as typical Cassandra application would. Fix bad matches in query result cases.