fixed bug in cassandra db interface for metric retrieval