diff --git a/corrector.py b/corrector.py
index bf41327daf7057e375de61794af3110d406be493..830b5587b1eff5c7a948bbe16370eb2f823919f3 100644
--- a/corrector.py
+++ b/corrector.py
@@ -212,7 +212,7 @@ def reed_solomon(points, data_length, last_error_index, prime_number):
     Returns:
         str: The corrected message.
     """
-    combination_length = data_length - len(points[:last_error_index])
+    combination_length = data_length - len(points[last_error_index + 1:])
 
     # Parse each combination of points possible (exclude the correct points)
     for x in itertools.combinations(points[: last_error_index + 1], combination_length):