diff --git a/habit.php b/habit.php
index 73b406b..d22adf3 100644
--- a/habit.php
+++ b/habit.php
@@ -394,7 +394,7 @@
     $streak = 0;
 	$thisWeek = date('Y-W'); // Get the current week
 
-	while (isset($weeklyOccurrences[$thisWeek]) && $weeklyOccurrences[$thisWeek] == $multiplier) {
+	while (isset($weeklyOccurrences[$thisWeek]) && $weeklyOccurrences[$thisWeek] >= $multiplier) {
 	    $streak++;
 	    $thisWeek = date('Y-W', strtotime($thisWeek . ' -1 week'));
 	}
@@ -908,4 +908,4 @@
 }
 
 
-?>
\ No newline at end of file
+?>