diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 4ecfde832b23b18a66000fc4568e1b896e7e7a6c..bdb61698a6f5fe82a4ebc30a0ef5df58ca93f4dc 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -9,6 +9,10 @@ and this project adheres to `Semantic Versioning`_.
 Unreleased
 ----------
 
+Fixed
+~~~~~
+* Migrating failed due to an incorrect field reference.
+
 `3.0`_ - 2023-05-15
 -------------------
 
diff --git a/aleksis/apps/alsijil/migrations/0001_initial.py b/aleksis/apps/alsijil/migrations/0001_initial.py
index 4a88b98b89eb6b5ed6aa914096c032b689710bde..e49edfac8a4cdb1f2684c3f2667d3e1ef18de003 100644
--- a/aleksis/apps/alsijil/migrations/0001_initial.py
+++ b/aleksis/apps/alsijil/migrations/0001_initial.py
@@ -130,7 +130,7 @@ class Migration(migrations.Migration):
                 "verbose_name": "Personal note",
                 "verbose_name_plural": "Personal notes",
                 "ordering": [
-                    "lesson_period__lesson__date_start",
+                    "lesson_period__lesson__validity__date_start",
                     "week",
                     "lesson_period__period__weekday",
                     "lesson_period__period__period",
@@ -194,7 +194,7 @@ class Migration(migrations.Migration):
                 "verbose_name": "Lesson documentation",
                 "verbose_name_plural": "Lesson documentations",
                 "ordering": [
-                    "lesson_period__lesson__date_start",
+                    "lesson_period__lesson__validity__date_start",
                     "week",
                     "lesson_period__period__weekday",
                     "lesson_period__period__period",