resolved issue in cassandra env metrics reporter if statement