cassandra: fix bad inreplace.
gist 4.1.1

Closes #22383.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>