diff --git a/aleksis/apps/alsijil/model_extensions.py b/aleksis/apps/alsijil/model_extensions.py
index d31a4ddc3f1da4147947b252ec14f570dc6940db..0fbfd957568f8a3850642362a0ca755a94e59bbe 100644
--- a/aleksis/apps/alsijil/model_extensions.py
+++ b/aleksis/apps/alsijil/model_extensions.py
@@ -49,8 +49,8 @@ def mark_absent(
     # Create and update all personal notes for the discovered lesson periods
     for lesson_period in lesson_periods:
         sub = lesson_period.get_substitution()
-        if sub and sub.is_cancelled:
-                continue
+        if sub and sub.cancelled:
+            continue
 
         with reversion.create_revision():
             personal_note, created = PersonalNote.objects.update_or_create(