More tolerant casting of cassandra data to integers and floats.