diff --git a/habit.php b/habit.php
index 2f9e6ee..e01a11f 100644
--- a/habit.php
+++ b/habit.php
@@ -397,7 +397,7 @@
     ksort($weeklyOccurrences); 
 
     foreach ($weeklyOccurrences as $week => $value) {
-        if ($value >= 2) {
+        if ($value >= $multiplier) {
             $consecutiveCount++;
             $maxConsecutiveCount = max($maxConsecutiveCount, $consecutiveCount);
         } else {