fixed Cassandra batch insert with condition