Fixed cassandra not null allowable issue