Bug fixes in ElasticSearch & Cassandra setup.