"Automate -> Sessions" list does not show complete list when sort order is decreasing

Problem

When navigating to "Automate -> Sessions" for gitlab-org/gitlab, if the sort order is decreasing (both for "Created date" as well as "Updated date"), the list only shows the last 5 items.

When the sort order is set to increasing, it shows the complete list.

Decreasing Increasing
image.png image.png
Edited by 🤖 GitLab Bot 🤖