diff --git a/rest-api-service/app/api_v1_0/routes.py b/rest-api-service/app/api_v1_0/routes.py
index b142f5c25eaaec9bf9291851a709aeb005531b85..9ab1d9f46520284081d5e09eaea265bbb4dc12c2 100644
--- a/rest-api-service/app/api_v1_0/routes.py
+++ b/rest-api-service/app/api_v1_0/routes.py
@@ -374,8 +374,7 @@ def get_calcs_groups(material_id):
             {"$sort": {"energy.e_val": 1}},
             {"$group": {
                 "_id": {
-                    "method_hash": "$method_hash",
-                    "group_eos_hash": "$%s" % hash_key
+                    "group_hash": "$%s" % hash_key
                 },
                 "calculations_list": {"$push": "$_id"},
                 "minimum": {"$first": {"energy": "$energy.e_val", "calc_id": "$_id"}}
@@ -388,8 +387,7 @@ def get_calcs_groups(material_id):
                 "calculations_list": True,
                 "energy_minimum": "$minimum.energy",
                 "representative_calculation_id": "$minimum.calc_id",
-                "method_hash": "$_id.method_hash",
-                "group_eos_hash": "$_id.group_eos_hash",
+                "group_hash": "$_id.group_hash",
                 "group_type": group_type,
                 "material_hash": material["material_hash"]
             }}