cassandra: fix bad inreplace.