diff --git a/web/app/models/HTML.php b/web/app/models/HTML.php
index c6f9518..1dc727e 100644
--- a/web/app/models/HTML.php
+++ b/web/app/models/HTML.php
@@ -290,7 +290,7 @@ class HTML {
case 1: // shows minutes and seconds if granularity is not set higher
break;
}
- if ($i === $stopat) {
+ if ($i <= $stopat) {
break;
}
}