fix wrong setFromFlag (cassandra)